function [res_coreg, timeElapsed, resAIO,biaozhuncha,fangcha] = Coreg_single_dataset(Ks, Y, nRepeat)
[nSmp, ~, nKernel] = size(Ks);
nCluster = length(unique(Y));
if ~exist('nRepeat', 'var')
    nRepeat = 1;
end
tic;
res_coreg = [];
res_coreg = Coreg_config_auto(Y,Ks, nCluster);
resAIO = mean(res_coreg, 1);
biaozhuncha=std(res_coreg,0,1);
fangcha=var(res_coreg,0,1);
bstResult1 = max(resAIO, [], 1);
timeElapsed = toc;